home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
Programming Stuff
/
Sample Code
/
MiniPlayer3
/
Mini Player3
/
Mini Player3.rsrc
/
CDEF_233_Movie Sound Toggle.txt
< prev
next >
Wrap
Text File
|
1991-09-05
|
24KB
|
430 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 4344 ori.b D0, 0x44 /* 'D' */
00000006 4546 chk.w D2, D6
00000008 00E9 .incomplete
0000000A 0000 0000 ori.b D0, 0x0
0000000E 0000 41FA ori.b D0, 0xFA
// begin alternate branch 00000010-00000014
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
// end alternate branch 00000010-00000014
label00000010: // (misaligned)
00000012 FFEE .invalid <<F/7/7>>
00000014 21C8 09CE move.l [0x000009CE /* ToolScratch */], A0
00000018 6000 0414 bra +0x416 /* 0000042E */
0000001C 225F movea.l A1, [A7]+
0000001E 201F move.l D0, [A7]+
00000020 A04C syscall CompactMem
00000022 2E80 move.l [A7], D0
00000024 7000 moveq.l D0, 0x00
label00000026:
00000026 2F09 move.l -[A7], A1
label00000028:
00000028 31C0 0220 move.w [0x00000220 /* MemErr */], D0
0000002C 4E75 rts
0000002E 7000 moveq.l D0, 0x00
00000030 60F6 bra -0x8 /* 00000028 */
fn00000032:
00000032 225F movea.l A1, [A7]+
00000034 205F movea.l A0, [A7]+
00000036 A029 syscall HLock
00000038 4EFA FFEC jmp [PC - 0x14 /* 00000026 */]
fn0000003C:
0000003C 225F movea.l A1, [A7]+
0000003E 205F movea.l A0, [A7]+
00000040 A02A syscall HUnlock
00000042 4EFA FFE2 jmp [PC - 0x1E /* 00000026 */]
fn00000046:
00000046 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
0000004A 322F 0014 move.w D1, [A7 + 0x14]
0000004E 206F 0016 movea.l A0, [A7 + 0x16]
00000052 2248 movea.l A1, A0
00000054 7000 moveq.l D0, 0x00
00000056 22C0 move.l [A1]+, D0
00000058 22C0 move.l [A1]+, D0
0000005A 22C0 move.l [A1]+, D0
0000005C 22C0 move.l [A1]+, D0
0000005E 22C0 move.l [A1]+, D0
00000060 22C0 move.l [A1]+, D0
00000062 22C0 move.l [A1]+, D0
00000064 22C0 move.l [A1]+, D0
00000066 226F 001A movea.l A1, [A7 + 0x1A]
0000006A 5341 subq.w D1, 1
0000006C 671E beq +0x20 /* 0000008C */
0000006E 701F moveq.l D0, 0x1F
00000070 9041 sub.w D0, D1
00000072 E249 lsr D1.w, 1
00000074 41F0 0000 lea.l A0, [A0 + D0.w]
label00000078:
00000078 30D9 move.w [A0]+, [A1]+
0000007A 51C9 FFFC dbf D1, -0x6 /* 00000078 */
label0000007E:
0000007E 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00000082 2F57 000A move.l [A7 + 0xA], [A7]
00000086 4FEF 000A lea.l A7, [A7 + 0xA]
0000008A 4E75 rts
label0000008C:
0000008C 1159 001F move.b [A0 + 0x1F], [A1]+
00000090 60EC bra -0x12 /* 0000007E */
fn00000092:
00000092 4E56 FFC6 link A6, -0x003A
00000096 206E 000C movea.l A0, [A6 + 0xC]
0000009A 43EE FFE8 lea.l A1, [A6 - 0x18]
0000009E 22D8 move.l [A1]+, [A0]+
000000A0 22D8 move.l [A1]+, [A0]+
000000A2 1D7C 0055 FFCE move.b [A6 - 0x32], 0x55 /* 'U' */
000000A8 1D7C 00AA FFCF move.b [A6 - 0x31], 0xAA
000000AE 1D7C 0055 FFD0 move.b [A6 - 0x30], 0x55 /* 'U' */
000000B4 1D7C 00AA FFD1 move.b [A6 - 0x2F], 0xAA
000000BA 1D7C 0055 FFD2 move.b [A6 - 0x2E], 0x55 /* 'U' */
000000C0 1D7C 00AA FFD3 move.b [A6 - 0x2D], 0xAA
000000C6 1D7C 0055 FFD4 move.b [A6 - 0x2C], 0x55 /* 'U' */
000000CC 1D7C 00AA FFD5 move.b [A6 - 0x2B], 0xAA
000000D2 486E FFCE pea.l [A6 - 0x32]
000000D6 A89D syscall PenPat
000000D8 3F3C 000B move.w -[A7], 0xB
000000DC A89C syscall PenMode
000000DE 486E FFE8 pea.l [A6 - 0x18]
000000E2 A8A2 syscall PaintRect
000000E4 4E5E unlink A6
000000E6 205F movea.l A0, [A7]+
000000E8 504F addq.w A7, 8
000000EA 4ED0 jmp [A0]
fn000000EC:
000000EC 4E56 FF56 link A6, -0x00AA
000000F0 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
000000F4 286E 0010 movea.l A4, [A6 + 0x10]
000000F8 2F0C move.l -[A7], A4
000000FA 4EBA FF36 jsr [PC - 0xCA /* 00000032 */]
000000FE 2054 movea.l A0, [A4]
00000100 7000 moveq.l D0, 0x00
00000102 1028 0010 move.b D0, [A0 + 0x10]
00000106 4A40 tst.w D0
00000108 6700 0230 beq +0x232 /* 0000033A */
0000010C 486E FFA2 pea.l [A6 - 0x5E]
00000110 A898 syscall GetPenState
00000112 A89E syscall PenNormal
00000114 2054 movea.l A0, [A4]
00000116 41E8 0008 lea.l A0, [A0 + 0x8]
0000011A 43EE FFE0 lea.l A1, [A6 - 0x20]
0000011E 22D8 move.l [A1]+, [A0]+
00000120 22D8 move.l [A1]+, [A0]+
00000122 594F subq.w A7, 4
00000124 A8D8 syscall NewRgn
00000126 245F movea.l A2, [A7]+
00000128 2F0A move.l -[A7], A2
0000012A A87A syscall GetClip
0000012C 594F subq.w A7, 4
0000012E A8D8 syscall NewRgn
00000130 265F movea.l A3, [A7]+
00000132 2F0B move.l -[A7], A3
00000134 486E FFE0 pea.l [A6 - 0x20]
00000138 A8DF syscall RectRgn
0000013A 2F0A move.l -[A7], A2
0000013C 2F0B move.l -[A7], A3
0000013E 2F0B move.l -[A7], A3
00000140 A8E4 syscall SectRgn
00000142 2F0B move.l -[A7], A3
00000144 A879 syscall SetClip
00000146 486E FFBC pea.l [A6 - 0x44]
0000014A A874 syscall GetPort
0000014C 206E FFBC movea.l A0, [A6 - 0x44]
00000150 3A28 0044 move.w D5, [A0 + 0x44]
00000154 206E FFBC movea.l A0, [A6 - 0x44]
00000158 3C28 004A move.w D6, [A0 + 0x4A]
0000015C 206E FFBC movea.l A0, [A6 - 0x44]
00000160 3E28 0048 move.w D7, [A0 + 0x48]
00000164 206E FFBC movea.l A0, [A6 - 0x44]
00000168 4868 0046 pea.l [A0 + 0x46]
0000016C 486E FF58 pea.l [A6 - 0xA8]
00000170 3F3C 0001 move.w -[A7], 0x1
00000174 4EBA FED0 jsr [PC - 0x130 /* 00000046 */]
00000178 1D6E FF77 FFB5 move.b [A6 - 0x4B], [A6 - 0x89]
0000017E 4267 clr.w -[A7]
00000180 A887 syscall TextFont
00000182 3F3C 000C move.w -[A7], 0xC
00000186 A88A syscall TextSize
00000188 3F3C 0001 move.w -[A7], 0x1
0000018C A889 syscall TextMode
0000018E 422E FF76 clr.b [A6 - 0x8A]
00000192 7000 moveq.l D0, 0x00
00000194 102E FF76 move.b D0, [A6 - 0x8A]
00000198 3F00 move.w -[A7], D0
0000019A A888 syscall TextFace
0000019C 486E FFD0 pea.l [A6 - 0x30]
000001A0 4267 clr.w -[A7]
000001A2 4267 clr.w -[A7]
000001A4 3F3C 0011 move.w -[A7], 0x11
000001A8 3F3C 000F move.w -[A7], 0xF
000001AC A8A7 syscall SetRect
000001AE 486E FFD0 pea.l [A6 - 0x30]
000001B2 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
000001B6 3F2E FFE0 move.w -[A7], [A6 - 0x20]
000001BA A8A8 syscall OffsetRect
000001BC 486E FFD0 pea.l [A6 - 0x30]
000001C0 A8A1 syscall FrameRect
000001C2 486E FFD0 pea.l [A6 - 0x30]
000001C6 3F3C 0001 move.w -[A7], 0x1
000001CA 3F3C 0001 move.w -[A7], 0x1
000001CE A8A9 syscall InsetRect
000001D0 486E FFD0 pea.l [A6 - 0x30]
000001D4 A8A3 syscall EraseRect
000001D6 486E FFE8 pea.l [A6 - 0x18]
000001DA 302E FFD2 move.w D0, [A6 - 0x2E]
000001DE 5440 addq.w D0, 2
000001E0 3F00 move.w -[A7], D0
000001E2 302E FFD0 move.w D0, [A6 - 0x30]
000001E6 5840 addq.w D0, 4
000001E8 3F00 move.w -[A7], D0
000001EA 302E FFD2 move.w D0, [A6 - 0x2E]
000001EE 5A40 addq.w D0, 5
000001F0 3F00 move.w -[A7], D0
000001F2 302E FFD4 move.w D0, [A6 - 0x2C]
000001F6 5940 subq.w D0, 4
000001F8 3F00 move.w -[A7], D0
000001FA A8A7 syscall SetRect
000001FC 486E FFE8 pea.l [A6 - 0x18]
00000200 A8A1 syscall FrameRect
00000202 3F2E FFEE move.w -[A7], [A6 - 0x12]
00000206 3F2E FFE8 move.w -[A7], [A6 - 0x18]
0000020A A893 syscall MoveTo
0000020C 302E FFEE move.w D0, [A6 - 0x12]
00000210 5440 addq.w D0, 2
00000212 3F00 move.w -[A7], D0
00000214 302E FFE8 move.w D0, [A6 - 0x18]
00000218 5540 subq.w D0, 2
0000021A 3F00 move.w -[A7], D0
0000021C A891 syscall LineTo
0000021E 302E FFEE move.w D0, [A6 - 0x12]
00000222 5640 addq.w D0, 3
00000224 3F00 move.w -[A7], D0
00000226 302E FFE8 move.w D0, [A6 - 0x18]
0000022A 5540 subq.w D0, 2
0000022C 3F00 move.w -[A7], D0
0000022E A891 syscall LineTo
00000230 302E FFEE move.w D0, [A6 - 0x12]
00000234 5640 addq.w D0, 3
00000236 3F00 move.w -[A7], D0
00000238 302E FFEC move.w D0, [A6 - 0x14]
0000023C 5440 addq.w D0, 2
0000023E 3F00 move.w -[A7], D0
00000240 A891 syscall LineTo
00000242 302E FFEE move.w D0, [A6 - 0x12]
00000246 5440 addq.w D0, 2
00000248 3F00 move.w -[A7], D0
0000024A 302E FFEC move.w D0, [A6 - 0x14]
0000024E 5440 addq.w D0, 2
00000250 3F00 move.w -[A7], D0
00000252 A891 syscall LineTo
00000254 3F2E FFEE move.w -[A7], [A6 - 0x12]
00000258 3F2E FFEC move.w -[A7], [A6 - 0x14]
0000025C A891 syscall LineTo
0000025E 2054 movea.l A0, [A4]
00000260 4A68 0012 tst.w [A0 + 0x12]
00000264 6764 beq +0x66 /* 000002CA */
00000266 302E FFEE move.w D0, [A6 - 0x12]
0000026A 5A40 addq.w D0, 5
0000026C 3F00 move.w -[A7], D0
0000026E 3F2E FFE8 move.w -[A7], [A6 - 0x18]
00000272 A893 syscall MoveTo
00000274 302E FFEE move.w D0, [A6 - 0x12]
00000278 5C40 addq.w D0, 6
0000027A 3F00 move.w -[A7], D0
0000027C 302E FFE8 move.w D0, [A6 - 0x18]
00000280 5340 subq.w D0, 1
00000282 3F00 move.w -[A7], D0
00000284 A891 syscall LineTo
00000286 302E FFEE move.w D0, [A6 - 0x12]
0000028A 5A40 addq.w D0, 5
0000028C 3F00 move.w -[A7], D0
0000028E 302E FFE8 move.w D0, [A6 - 0x18]
00000292 5440 addq.w D0, 2
00000294 3F00 move.w -[A7], D0
00000296 A893 syscall MoveTo
00000298 302E FFEE move.w D0, [A6 - 0x12]
0000029C 5E40 addq.w D0, 7
0000029E 3F00 move.w -[A7], D0
000002A0 302E FFE8 move.w D0, [A6 - 0x18]
000002A4 5440 addq.w D0, 2
000002A6 3F00 move.w -[A7], D0
000002A8 A891 syscall LineTo
000002AA 302E FFEE move.w D0, [A6 - 0x12]
000002AE 5A40 addq.w D0, 5
000002B0 3F00 move.w -[A7], D0
000002B2 3F2E FFEC move.w -[A7], [A6 - 0x14]
000002B6 A893 syscall MoveTo
000002B8 302E FFEE move.w D0, [A6 - 0x12]
000002BC 5C40 addq.w D0, 6
000002BE 3F00 move.w -[A7], D0
000002C0 302E FFEC move.w D0, [A6 - 0x14]
000002C4 5240 addq.w D0, 1
000002C6 3F00 move.w -[A7], D0
000002C8 A891 syscall LineTo
label000002CA:
000002CA 2054 movea.l A0, [A4]
000002CC 7000 moveq.l D0, 0x00
000002CE 1028 0011 move.b D0, [A0 + 0x11]
000002D2 4A40 tst.w D0
000002D4 6720 beq +0x22 /* 000002F6 */
000002D6 2054 movea.l A0, [A4]
000002D8 7000 moveq.l D0, 0x00
000002DA 1028 0011 move.b D0, [A0 + 0x11]
000002DE 0C40 00FF cmpi.w D0, 0xFF
000002E2 660C bne +0xE /* 000002F0 */
000002E4 486E FFD0 pea.l [A6 - 0x30]
000002E8 2F0E move.l -[A7], A6
000002EA 4EBA FDA6 jsr [PC - 0x25A /* 00000092 */]
000002EE 6006 bra +0x8 /* 000002F6 */
label000002F0:
000002F0 486E FFD0 pea.l [A6 - 0x30]
000002F4 A8A4 syscall InvertRect
label000002F6:
000002F6 3F05 move.w -[A7], D5
000002F8 A887 syscall TextFont
000002FA 3F06 move.w -[A7], D6
000002FC A88A syscall TextSize
000002FE 3F07 move.w -[A7], D7
00000300 A889 syscall TextMode
00000302 486E FFB5 pea.l [A6 - 0x4B]
00000306 486E FF58 pea.l [A6 - 0xA8]
0000030A 3F3C 0001 move.w -[A7], 0x1
0000030E 4EBA FD36 jsr [PC - 0x2CA /* 00000046 */]
00000312 1D6E FF77 FF56 move.b [A6 - 0xAA], [A6 - 0x89]
00000318 7000 moveq.l D0, 0x00
0000031A 102E FF56 move.b D0, [A6 - 0xAA]
0000031E 3F00 move.w -[A7], D0
00000320 A888 syscall TextFace
00000322 2F0A move.l -[A7], A2
00000324 A879 syscall SetClip
00000326 2F0A move.l -[A7], A2
00000328 A8D9 syscall DisposRgn/DisposeRgn
0000032A 2F0B move.l -[A7], A3
0000032C A8D9 syscall DisposRgn/DisposeRgn
0000032E 486E FFA2 pea.l [A6 - 0x5E]
00000332 A899 syscall SetPenState
00000334 2F0C move.l -[A7], A4
00000336 4EBA FD04 jsr [PC - 0x2FC /* 0000003C */]
label0000033A:
0000033A 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
0000033E 4E5E unlink A6
00000340 205F movea.l A0, [A7]+
00000342 4FEF 000E lea.l A7, [A7 + 0xE]
00000346 4ED0 jmp [A0]
fn00000348:
00000348 4E56 FFE8 link A6, -0x0018
0000034C 2F0C move.l -[A7], A4
0000034E 286E 0010 movea.l A4, [A6 + 0x10]
00000352 42AE 0016 clr.l [A6 + 0x16]
00000356 2F0C move.l -[A7], A4
00000358 4EBA FCD8 jsr [PC - 0x328 /* 00000032 */]
0000035C 2054 movea.l A0, [A4]
0000035E 7000 moveq.l D0, 0x00
00000360 1028 0010 move.b D0, [A0 + 0x10]
00000364 4A40 tst.w D0
00000366 6762 beq +0x64 /* 000003CA */
00000368 2054 movea.l A0, [A4]
0000036A 7000 moveq.l D0, 0x00
0000036C 1028 0011 move.b D0, [A0 + 0x11]
00000370 0C40 00FF cmpi.w D0, 0xFF
00000374 6754 beq +0x56 /* 000003CA */
00000376 2054 movea.l A0, [A4]
00000378 7000 moveq.l D0, 0x00
0000037A 1028 0011 move.b D0, [A0 + 0x11]
0000037E 0C40 00FE cmpi.w D0, 0xFE
00000382 673E beq +0x40 /* 000003C2 */
00000384 2054 movea.l A0, [A4]
00000386 41E8 0008 lea.l A0, [A0 + 0x8]
0000038A 43EE FFE8 lea.l A1, [A6 - 0x18]
0000038E 22D8 move.l [A1]+, [A0]+
00000390 22D8 move.l [A1]+, [A0]+
00000392 302E FFEA move.w D0, [A6 - 0x16]
00000396 0640 0011 addi.w D0, 0x11
0000039A 3D40 FFEE move.w [A6 - 0x12], D0
0000039E 302E FFE8 move.w D0, [A6 - 0x18]
000003A2 0640 000F addi.w D0, 0xF
000003A6 3D40 FFEC move.w [A6 - 0x14], D0
000003AA 554F subq.w A7, 2
000003AC 2F2E 000C move.l -[A7], [A6 + 0xC]
000003B0 486E FFE8 pea.l [A6 - 0x18]
000003B4 A8AD syscall PtInRect
000003B6 4A1F tst.b [A7]+
000003B8 6710 beq +0x12 /* 000003CA */
000003BA 700B moveq.l D0, 0x0B
000003BC 2D40 0016 move.l [A6 + 0x16], D0
000003C0 6008 bra +0xA /* 000003CA */
label000003C2:
000003C2 2D7C 0000 00FE 0016 move.l [A6 + 0x16], 0xFE
label000003CA:
000003CA 2F0C move.l -[A7], A4
000003CC 4EBA FC6E jsr [PC - 0x392 /* 0000003C */]
000003D0 285F movea.l A4, [A7]+
000003D2 4E5E unlink A6
000003D4 205F movea.l A0, [A7]+
000003D6 4FEF 000E lea.l A7, [A7 + 0xE]
000003DA 4ED0 jmp [A0]
fn000003DC:
000003DC 4E56 FFE8 link A6, -0x0018
000003E0 2F2E 0010 move.l -[A7], [A6 + 0x10]
000003E4 4EBA FC4C jsr [PC - 0x3B4 /* 00000032 */]
000003E8 206E 0010 movea.l A0, [A6 + 0x10]
000003EC 2050 movea.l A0, [A0]
000003EE 41E8 0008 lea.l A0, [A0 + 0x8]
000003F2 43EE FFE8 lea.l A1, [A6 - 0x18]
000003F6 22D8 move.l [A1]+, [A0]+
000003F8 22D8 move.l [A1]+, [A0]+
000003FA 302E FFEA move.w D0, [A6 - 0x16]
000003FE 0640 0011 addi.w D0, 0x11
00000402 3D40 FFEE move.w [A6 - 0x12], D0
00000406 302E FFE8 move.w D0, [A6 - 0x18]
0000040A 0640 000F addi.w D0, 0xF
0000040E 3D40 FFEC move.w [A6 - 0x14], D0
00000412 2F2E 000C move.l -[A7], [A6 + 0xC]
00000416 486E FFE8 pea.l [A6 - 0x18]
0000041A A8DF syscall RectRgn
0000041C 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000420 4EBA FC1A jsr [PC - 0x3E6 /* 0000003C */]
00000424 4E5E unlink A6
00000426 205F movea.l A0, [A7]+
00000428 4FEF 000E lea.l A7, [A7 + 0xE]
0000042C 4ED0 jmp [A0]
label0000042E:
0000042E 4E56 0000 link A6, 0
00000432 42AE 0014 clr.l [A6 + 0x14]
00000436 302E 000C move.w D0, [A6 + 0xC]
0000043A 6042 bra +0x44 /* 0000047E */
label0000043C:
0000043C 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000440 2F2E 000E move.l -[A7], [A6 + 0xE]
00000444 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000448 2F0E move.l -[A7], A6
0000044A 4EBA FCA0 jsr [PC - 0x360 /* 000000EC */]
0000044E 6038 bra +0x3A /* 00000488 */
label00000450:
00000450 594F subq.w A7, 4
00000452 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000456 2F2E 000E move.l -[A7], [A6 + 0xE]
0000045A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000045E 2F0E move.l -[A7], A6
00000460 4EBA FEE6 jsr [PC - 0x11A /* 00000348 */]
00000464 2D5F 0014 move.l [A6 + 0x14], [A7]+
00000468 601E bra +0x20 /* 00000488 */
label0000046A:
0000046A 3F2E 0012 move.w -[A7], [A6 + 0x12]
0000046E 2F2E 000E move.l -[A7], [A6 + 0xE]
00000472 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000476 2F0E move.l -[A7], A6
00000478 4EBA FF62 jsr [PC - 0x9E /* 000003DC */]
0000047C 600A bra +0xC /* 00000488 */
label0000047E:
0000047E 67BC beq -0x42 /* 0000043C */
00000480 5340 subq.w D0, 1
00000482 67CC beq -0x32 /* 00000450 */
00000484 5340 subq.w D0, 1
00000486 67E2 beq -0x1C /* 0000046A */
label00000488:
00000488 4E5E unlink A6
0000048A 205F movea.l A0, [A7]+
0000048C 4FEF 000C lea.l A7, [A7 + 0xC]
00000490 4ED0 jmp [A0]